package com.zb.vo;

import com.zb.annotation.NumberPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2024/2/27 0027
 **/
@Data
@ApiModel("厂商设置对象")
public class FactorySetVo {

    @NotNull(message = "厂商审核策略项不能为空")
    @NumberPattern(regexp = "^(1|2)$", message = "厂商审核策略项参数不合法")
    @ApiModelProperty(value = "厂商审核策略：1-直接通过，2-需要审核", required = true, example = "1")
    private Integer factoryCheckStrategy;
}
